<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
	<link rel="shortcut icon" href="milk.ico">
    <meta name="viewport" content="width=device-width">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
	
    <title>时光机</title>
    <style>
	
	        .timer {
	           font-size: 0.3rem;
	           margin-top: 10px;
	           background: linear-gradient(to right, red, blue);
	           -webkit-background-clip: text;
	           color: transparent;
	        }

	body { overflow-x:hidden; overflow-y:hidden; }
       
    </style>
	
</head>

<body>

        <div class="timer" align="center">
            已经开始<b id="d"></b> 天 <b id="h"></b> 时 <b id="m"></b> 分 <b id="s"></b> 秒啦
        </div>
		
 
	

   
   <!-- 秒表 -->
   	
	
    <script>
        function show_date_time() {
          window.setTimeout("show_date_time()", 1000);
          var start = new Date("2020-11-29 22:32:16").getTime(); // 2021.11.29
          var t = new Date().getTime() - start; 
            var h = ~~(t / 1000 / 60 / 60 % 24);
            if (h < 10) {
                h = "0" + h;
            }
            var m = ~~(t / 1000 / 60 % 60);
            if (m < 10) {
                m = "0" + m;
            }
            var s = ~~(t / 1000 % 60);
            if (s < 10) {
                s = "0" + s;
            }
            document.getElementById('d').innerHTML = ~~(t / 1000 / 60 / 60 / 24);
            document.getElementById('h').innerHTML = h;
            document.getElementById('m').innerHTML = m;
            document.getElementById('s').innerHTML = s;
        }
        show_date_time();
        setInterval(show_date_time, 1000);
    </script>
	<script>
console.log("%c%c警告⚠%c请不要恶意攻击，您的ip将被记录！","line-height:28px;","line-height:28px;padding:4px;background:#222;color:#fff;font-size:16px;margin-right:15px","color:#ff9900;line-height:28px;font-size:16px;");
</script>

</body>

</html>
